import request from '@/utils/request'

// 查询开发任务列表
export function listDev_task(query) {
  return request({
    url: '/system/dev_task/list',
    method: 'get',
    params: query
  })
}

// 查询开发任务详细
export function getDev_task(developmentId) {
  return request({
    url: '/system/dev_task/' + developmentId,
    method: 'get'
  })
}

// 新增开发任务
export function addDev_task(data) {
  return request({
    url: '/system/dev_task',
    method: 'post',
    data: data
  })
}

// 修改开发任务
export function updateDev_task(data) {
  return request({
    url: '/system/dev_task',
    method: 'put',
    data: data
  })
}

// 删除开发任务
export function delDev_task(developmentId) {
  return request({
    url: '/system/dev_task/' + developmentId,
    method: 'delete'
  })
}
